package StudyCode.summary.mycollection;

import java.util.Collections;
import java.util.Set;
import java.util.TreeSet;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class GetSynchronizedSetFromTreeSet {
	public static void main(String[] args) {
		TreeSet treeSet = new TreeSet();
		Set set = Collections.synchronizedSet(treeSet);
		System.out.println(set);
	}
}
